package com.yfp.operation.mapper;

import com.yfp.operation.domain.MallOrderDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author admin
* @description 针对表【mall_order_details】的数据库操作Mapper
* @createDate 2025-03-05 11:03:57
* @Entity domain.com.yfp.operation.MallOrderDetails
*/
public interface MallOrderDetailsMapper extends BaseMapper<MallOrderDetails> {

    /**
     * 根据订单id获取数据
     * @param mallOrderId
     * @return
     */
    MallOrderDetails getByMallOrderId(Long mallOrderId);

    /**
     * 获取商品名称
     * @param orderSns
     * @return
     */
    List<MallOrderDetails> getProductNames(List<String> orderSns);
}




